package com.cmys.money.cloudshop.model.system;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Embedded;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@Embeddable
public class ImageFile{

	@Column
	private Integer height;
	
	@Column
	private Integer weight;
	
	@Column
	private String format;
	
	@Embedded
	private File file;
	
	public ImageFile() {
		super();
	}
	
	public ImageFile(Integer height, Integer weight, String format, File file) {
		super();
		this.height = height;
		this.weight = weight;
		this.format = format;
		this.file = file;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

}
